package com.ktjy.service.Impl;

import com.ktjy.dao.CalculateDao;
import com.ktjy.service.CalculateService;

public class CalculateServiceImpl implements CalculateService {
    private CalculateDao calculateDao;
    public CalculateServiceImpl(CalculateDao calculateDao) {
        this.calculateDao = calculateDao;
    }
    @Override
    public double calculate(double a, double b) {
        return calculateDao.calculate(a, b);
    }
}
